home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Windows files / Q3WinSDK.exe / QD3DSDK / Samples / Win32Sample / QD3DSample.RC < prev    next >
Encoding:
Text File  |  1996-12-20  |  7.3 KB  |  248 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #define APSTUDIO_HIDDEN_SYMBOLS
  11. #include "windows.h"
  12. #undef APSTUDIO_HIDDEN_SYMBOLS
  13. #include "winver.h"
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. #undef APSTUDIO_READONLY_SYMBOLS
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // English (U.S.) resources
  20.  
  21. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  22. #ifdef _WIN32
  23. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  24. #pragma code_page(1252)
  25. #endif //_WIN32
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Icon
  30. //
  31.  
  32. // Icon with lowest ID value placed first to ensure application icon
  33. // remains consistent on all systems.
  34. IDI_APP                 ICON    DISCARDABLE     "RES/QD3DSample.ICO"
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37. //
  38. // Menu
  39. //
  40.  
  41. IDR_GENERIC MENU DISCARDABLE 
  42. BEGIN
  43.     POPUP "&File"
  44.     BEGIN
  45.         POPUP "&Open using"
  46.         BEGIN
  47.             MENUITEM "Win32 File Handle...",        ID_FILE_OPEN_WIN32
  48.             MENUITEM "Win32 Memory Mapped File...", ID_FILE_OPEN_MMF
  49.             MENUITEM """Unix"" Path...",            ID_FILE_OPEN_PATH
  50.             MENUITEM """Unix"" FILE...",            ID_FILE_OPEN_UNIX
  51.         END
  52.         POPUP "&Save using"
  53.         BEGIN
  54.             MENUITEM "Win32 File Handle...",        ID_FILE_SAVE_WIN32
  55.             MENUITEM "Win32 File Handle (text)...", ID_FILE_SAVE_WIN32_TEXT
  56.             MENUITEM """Unix"" Path...",            ID_FILE_SAVE_PATH
  57.             MENUITEM """Unix"" Path (text)...",     ID_FILE_SAVE_PATH_TEXT
  58.             MENUITEM """Unix"" FILE...",            ID_FILE_SAVE_UNIX
  59.             MENUITEM """Unix"" FILE (text)...",     ID_FILE_SAVE_UNIX_TEXT
  60.         END
  61.         MENUITEM SEPARATOR
  62.         MENUITEM "E&xit",                       IDM_EXIT
  63.     END
  64.     POPUP "&QD3D"
  65.     BEGIN
  66.         POPUP "&Renderer"
  67.         BEGIN
  68.             MENUITEM "&Interactive\tCtrl+I",        ID_QD3D_RENDERER_INTERACTIVE
  69.  
  70.             MENUITEM "&Wireframe\tCtrl+W",          ID_QD3D_RENDERER_WIREFRAME
  71.  
  72.         END
  73.         POPUP "&Draw Context"
  74.         BEGIN
  75.             MENUITEM "&Pixmap 16-bit (5-5-5)",      ID_QD3D_DRAWCONTEXT_PIXMAP16BIT555
  76.  
  77.             MENUITEM "Pixmap &16-bit (5-6-5)",      ID_QD3D_DRAWCONTEXT_PIXMAP16BIT565
  78.  
  79.             MENUITEM "Pixmap &24-bit",              ID_QD3D_DRAWCONTEXT_PIXMAP24BIT
  80.  
  81.             MENUITEM "Pixmap &32-bit",              ID_QD3D_DRAWCONTEXT_PIXMAP32BIT
  82.  
  83.             MENUITEM SEPARATOR
  84.             MENUITEM "&Win32 DC",                   ID_QD3D_DRAWCONTEXT_WIN32DC
  85.  
  86.             MENUITEM SEPARATOR
  87.             MENUITEM "&DirectDraw Surface",         ID_QD3D_DRAWCONTEXT_DIRECTDRAW
  88.             , GRAYED
  89.         END
  90.         MENUITEM "&Clear Color...",             ID_QD3D_CLEARCOLOR
  91.         MENUITEM "&Spin\tCtrl+R",               ID_QD3D_SPIN
  92.         MENUITEM "Step\tSpace-bar",             ID_QD3D_STEP
  93.     END
  94.     POPUP "&Help"
  95.     BEGIN
  96.         MENUITEM "&About QuickDraw 3D Demo...", IDM_ABOUT
  97.     END
  98. END
  99.  
  100.  
  101. /////////////////////////////////////////////////////////////////////////////
  102. //
  103. // Accelerator
  104. //
  105.  
  106. IDR_GENERIC ACCELERATORS MOVEABLE PURE 
  107. BEGIN
  108.     "/",            IDM_ABOUT,              ASCII,  ALT, NOINVERT
  109.     "?",            IDM_ABOUT,              ASCII,  ALT, NOINVERT
  110.     "I",            ID_QD3D_RENDERER_INTERACTIVE, VIRTKEY, CONTROL, NOINVERT
  111.     "O",            ID_FILE_OPEN_WIN32,     VIRTKEY, CONTROL, NOINVERT
  112.     "Q",            IDM_EXIT,               VIRTKEY, CONTROL, NOINVERT
  113.     "R",            ID_QD3D_SPIN,           VIRTKEY, CONTROL, NOINVERT
  114.     "S",            ID_FILE_SAVE_WIN32,     VIRTKEY, SHIFT, CONTROL, 
  115.                                                     NOINVERT
  116.     VK_F1,          IDM_ABOUT,              VIRTKEY, NOINVERT
  117.     VK_SPACE,       ID_QD3D_STEP,           VIRTKEY, NOINVERT
  118.     "W",            ID_QD3D_RENDERER_WIREFRAME, VIRTKEY, CONTROL, NOINVERT
  119. END
  120.  
  121.  
  122. /////////////////////////////////////////////////////////////////////////////
  123. //
  124. // Dialog
  125. //
  126.  
  127. IDD_ABOUTBOX DIALOGEX 22, 17, 253, 63
  128. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  129. CAPTION "About QuickDraw 3D Demo"
  130. FONT 8, "MS Sans Serif", 0, 0, 0x1
  131. BEGIN
  132.     DEFPUSHBUTTON   "OK",IDOK,211,6,32,14,WS_GROUP
  133.     ICON            IDI_APP,-1,3,2,18,20
  134.     LTEXT           "CompanyName",IDC_COMPANYNAME,30,2,100,8
  135.     LTEXT           "FileDescription",IDC_FILEDESCRIPTION,30,10,116,8
  136.     RTEXT           "ProductVersion",IDC_PRODUCTVERSION,150,11,44,8,0,
  137.                     WS_EX_RIGHT
  138.     LTEXT           "LegalCopyright",IDC_LEGALCOPYRIGHT,30,18,137,8
  139.     LTEXT           "LegalTrademarks",IDC_LEGALTRADEMARKS,30,35,164,23
  140.     CONTROL         "",501,"Static",SS_BLACKRECT,29,31,165,1
  141. END
  142.  
  143.  
  144. #ifndef _MAC
  145. /////////////////////////////////////////////////////////////////////////////
  146. //
  147. // Version
  148. //
  149.  
  150. 1 VERSIONINFO
  151.  FILEVERSION 1,5,0,23
  152.  PRODUCTVERSION 1,5,0,23
  153.  FILEFLAGSMASK 0x3fL
  154. #ifdef _DEBUG
  155.  FILEFLAGS 0x2bL
  156. #else
  157.  FILEFLAGS 0x2aL
  158. #endif
  159.  FILEOS 0x10004L
  160.  FILETYPE 0x1L
  161.  FILESUBTYPE 0x0L
  162. BEGIN
  163.     BLOCK "StringFileInfo"
  164.     BEGIN
  165.         BLOCK "040904e4"
  166.         BEGIN
  167.             VALUE "Comments", "Apple Confidential\0"
  168.             VALUE "CompanyName", "Apple Computer, Inc.\0"
  169.             VALUE "FileDescription", "QuickDraw 3D Demo Application\0"
  170.             VALUE "FileVersion", "1, 5, 0, 23\0"
  171.             VALUE "InternalName", "Quickdraw 3D Demo\0"
  172.             VALUE "LegalCopyright", "Copyright © 1996 Apple Computer, Inc.\0"
  173.             VALUE "LegalTrademarks", "QuickDraw is a trademark of Apple Computer, Inc.\0"
  174.             VALUE "OriginalFilename", "\0"
  175.             VALUE "ProductName", "QuickDraw 3D Demo\0"
  176.             VALUE "ProductVersion", "1, 5, 0, 23\0"
  177.             VALUE "SpecialBuild", "Preliminary\0"
  178.         END
  179.     END
  180.     BLOCK "VarFileInfo"
  181.     BEGIN
  182.         VALUE "Translation", 0x409, 1252
  183.     END
  184. END
  185.  
  186. #endif    // !_MAC
  187.  
  188.  
  189. #ifdef APSTUDIO_INVOKED
  190. /////////////////////////////////////////////////////////////////////////////
  191. //
  192. // TEXTINCLUDE
  193. //
  194.  
  195. 1 TEXTINCLUDE DISCARDABLE 
  196. BEGIN
  197.     "resource.h\0"
  198. END
  199.  
  200. 2 TEXTINCLUDE DISCARDABLE 
  201. BEGIN
  202.     "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  203.     "#include ""windows.h""\r\n"
  204.     "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  205.     "#include ""winver.h""\r\n"
  206.     "\0"
  207. END
  208.  
  209. 3 TEXTINCLUDE DISCARDABLE 
  210. BEGIN
  211.     "\r\n"
  212.     "\0"
  213. END
  214.  
  215. #endif    // APSTUDIO_INVOKED
  216.  
  217.  
  218. /////////////////////////////////////////////////////////////////////////////
  219. //
  220. // DESIGNINFO
  221. //
  222.  
  223. #ifdef APSTUDIO_INVOKED
  224. GUIDELINES DESIGNINFO DISCARDABLE 
  225. BEGIN
  226.     IDD_ABOUTBOX, DIALOG
  227.     BEGIN
  228.         RIGHTMARGIN, 252
  229.     END
  230. END
  231. #endif    // APSTUDIO_INVOKED
  232.  
  233. #endif    // English (U.S.) resources
  234. /////////////////////////////////////////////////////////////////////////////
  235.  
  236.  
  237.  
  238. #ifndef APSTUDIO_INVOKED
  239. /////////////////////////////////////////////////////////////////////////////
  240. //
  241. // Generated from the TEXTINCLUDE 3 resource.
  242. //
  243.  
  244.  
  245. /////////////////////////////////////////////////////////////////////////////
  246. #endif    // not APSTUDIO_INVOKED
  247.  
  248.